package com.joysuch.wwyt.bp.bean.risk;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;


/**
 * @Author ZhangDong
 * @Date 2020/3/16 12:07
 */
@Data
public class BpCompanyDto {

    @ApiModelProperty("主键id")
    private Long id;

    //生产装置

    @ApiModelProperty("合计数量")
    private Integer deviceSum;

    @ApiModelProperty("运行数量")
    private Integer deviceExecuteSum;

    @ApiModelProperty("停产数量")
    private Integer deviceStopSum;

    @ApiModelProperty("检修数量")
    private Integer deviceRepairSum;

    @ApiModelProperty("特种作业集合")
    private List<BpTeamSpecialBean> specialBeanList;

    @ApiModelProperty("是否处于试生产")
    private String preProduceOrNot;

    @ApiModelProperty("是否处于开停车状态")
    private String driveOrNot;

    @ApiModelProperty("重大危险源")
    private String harzard;

    @ApiModelProperty("企业承诺")
    private String enterprisePromise;

    @ApiModelProperty("主要负责人")
    private String mainCharger;

    @ApiModelProperty("发布公司")
    private String releaseCompany;

    @ApiModelProperty("公告时间")
    private LocalDate announceTime;

    @ApiModelProperty("发布人姓名")
    private String releaseUserName;

    @ApiModelProperty("公告状态")
    private String announceStatus;

    @ApiModelProperty("罐区、仓库等重大危险源是否处于安全状态")
    private String majorHazardIsSafe;

    @ApiModelProperty("是否有外来承包商")
    private String hasContractor;

    @ApiModelProperty("签名")
    private String autograph;

    //风险等级 参照枚举 RiskLevels
    @ApiModelProperty("风险等级")
    private Integer riskLevel;
    @ApiModelProperty("风险等级名称")
    private String riskLevelName;
}
